/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package isd.general.modelo;

import java.io.Serializable;
import javax.persistence.Column;
import javax.persistence.Embeddable;

/**
 *
 * @author ctrosch
 */
@Embeddable
public class GR_CodigoPostalPK implements Serializable{

    @Column(name = "GRTPAC_CODPAI", nullable = false, length = 6)
    private String codpai;
    @Column(name = "GRTPAC_CODPOS", nullable = false, length = 6)
    private String codpos;

    public GR_CodigoPostalPK() {

    }

    public GR_CodigoPostalPK(String codpai, String codpro) {
        this.codpai = codpai;
        this.codpos = codpro;
    }

    public String getCodpai() {
        return codpai;
    }

    public void setCodpai(String codpai) {
        this.codpai = codpai;
    }

    public String getCodpos() {
        return codpos;
    }

    public void setCodpos(String codpos) {
        this.codpos = codpos;
    }
    
}
